<?php
/*
*** For Propertymax Pro v0.3 and above ** To display a single random property.
Written by Steve Dawson - www.stevedawson.com
Amended 04-07-06 - display default image
*/
{
require ( "includes/config.php" );
require ( "includes/CGI.php" );
require ( "includes/SQL.php" );
  
  $cgi = new CGI ();
  $sql = new SQL ( $DBusername, $DBpassword, $server, $database );

  if ( ! $sql->isConnected () )
  {
    die ( $DatabaseError );
  }
   require ( "includes/CSQL.php" ); 
  
  $sql->execute ( "UPDATE " . $property_table . " set USER = '0'");
  
}
    ?>